package com.wrt.wm.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.wrt.wm.entity.AjaxResult;
import com.wrt.wm.service.ParametersService;

import jakarta.annotation.Resource;

/**
 * 水印图片参数接口
 * 
 * @author 文瑞涛
 */
@RestController
@RequestMapping({ "/wmimg/" })
public class WaterMarkImageParametersController {

	@Resource
	private ParametersService imgParametersService;
	
	@GetMapping("positions")
	public AjaxResult getAllPositions() {
		return AjaxResult.success("获取水印位置成功", imgParametersService.getImgPositions());
	}
	
}
